]> dgit.raspbian.org Git - gnome-shell.git/commitdiff
shell-app: Fix typo
authorFlorian Müllner <fmuellner@gnome.org>
Fri, 30 Jan 2015 16:57:09 +0000 (17:57 +0100)
committerFlorian Müllner <fmuellner@gnome.org>
Fri, 30 Jan 2015 16:59:30 +0000 (17:59 +0100)
Commit 086fcd4a32 broke the build, use the correct variable to fix.

https://bugzilla.gnome.org/show_bug.cgi?id=743729

src/shell-app.c

index 60be10042f64bcdf2dee7d4f2f8ba0d11856c8c6..9a688ef7aeedb4043b84d1729c2d069a42b3687a 100644 (file)
@@ -582,7 +582,8 @@ shell_app_activate_window (ShellApp     *app,
         {
           MetaWindow *other_window = iter->data;
 
-          if (other_window != window && meta_window_get_workspace (other_window) == workspace)
+          if (other_window != window &&
+              meta_window_get_workspace (other_window) == active);
             meta_window_raise (other_window);
         }
       g_slist_free (windows_reversed);